package com.weactivity.entity;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;

@Data
@Repository
public class Resource {
    //资源id
    private int id;
    //资源名称
    private String name;
    //资源类型
    private int type;
    //是否可移动
    private int movable;
    //资源位置
    private String position;
    //资源重要度
    private int imp;
    //是否已预约
    private int appoint;
    //预约资源的开销
    private double overhead;
    //预约资源的活动id
    private int aid;
    //预约的活动阶段
    private int stage;
    //预约时间
    private LocalDateTime appoint_time;
    //预约的开始使用时间
    private LocalDateTime beginTime;
    //预约的结束使用时间
    private LocalDateTime endTime;


}
